<%@ Control Language="C#" AutoEventWireup="true" CodeFile="usrLoginStatus.ascx.cs"
    Inherits="controls_usrLoginStatus" %>
<div class="userinfo">
    <div runat="server" id="liLogin">
        <ul>
            <li class="user">
                <asp:HyperLink ID="hplLoginStatus" runat="server" NavigateUrl="~/car-insurance/login.aspx">Returning Car Insurance <br />
 Users' Login</asp:HyperLink>
            </li>
        </ul>
    </div>
</div>
<div class="userinfo" runat="server" id="divUserInfo">
    <ul runat="server">
        <li class="user" runat="server" id="liEditProfile">
            <asp:HyperLink NavigateUrl="~/user/editprofile.aspx" ID="hplEditProfile" runat="server">
                <asp:Label ID="lblUserName" runat="server" ForeColor="#000000"></asp:Label>
            </asp:HyperLink></li>
        <li class="quote" runat="server" id="liSavedQuotes">
            <asp:HyperLink NavigateUrl="~/user/viewresulthistory.aspx" ID="hplSavedQuotes" Text="Saved Quotes"
                ToolTip="View Saved Quotes" runat="server"></asp:HyperLink></li>
        <li class="cpassword" runat="server" id="liChangePassword">
            <asp:HyperLink ID="hplChangePassword" NavigateUrl="~/user/changepassword.aspx" runat="server">Change Password</asp:HyperLink>
        </li>
        <%--<li class="last" runat="server" id="liRegister">
            <asp:HyperLink ID="hplRegister" NavigateUrl="~/car-insurance/loginandregister.aspx" runat="server">Register</asp:HyperLink>
        </li>--%>
    </ul>
    <div class="signout" runat="server" id="liLoginStatus">
        <asp:Button runat="server" Visible="false" ID="btnLogout" CssClass="button_logout_s"
            OnClientClick="return ShowProcessing(this);" onmousedown="this.className = 'button_logout_s_mousedown';"
            onmouseup="this.className = 'button_logout_s';" onmouseout="this.className = 'button_logout_s';"
            ValidationGroup="usrlogout-none" CausesValidation="false" OnClick="btnLogout_Click" />

        <script type="text/javascript">
            function ShowProcessing(aButton) {
                if (typeof (ValidatorValidate) != 'undefined') {
                    if (Page_ClientValidate('none')) {
                        aButton.removeAttribute('onmouseout'); aButton.removeAttribute('onmouseup'); aButton.className = 'button_s_processing';
                    }
                }
                else {
                    aButton.removeAttribute('onmouseout'); aButton.removeAttribute('onmouseup'); aButton.className = 'button_s_processing';
                } return true;
            }
        </script>

    </div>
</div>
